package com.loongtech.bi.entity.game;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "active_role_task_stay")
public class EntityActiveRoleTaskStay implements Serializable {
	private static final long serialVersionUID = 2L;

	@Id
	private Date day;
	@Id
	private String platformid;
	@Id
	private String channelid;
	@Id
	private String serverid;
	@Id
	private int taskid;
	@Column(columnDefinition="int(11) NOT NULL default 0")
	private int rolenum;

	public String getPlatformid() {
		return platformid;
	}

	public void setPlatformid(String platformid) {
		this.platformid = platformid;
	}

	public String getChannelid() {
		return channelid;
	}

	public void setChannelid(String channelid) {
		this.channelid = channelid;
	}

	public String getServerid() {
		return serverid;
	}

	public void setServerid(String serverid) {
		this.serverid = serverid;
	}

	public Date getDay() {
		return day;
	}

	public void setDay(Date day) {
		this.day = day;
	}

	public int getTaskid() {
		return taskid;
	}

	public void setTaskid(int taskid) {
		this.taskid = taskid;
	}

	public int getRolenum() {
		return rolenum;
	}

	public void setRolenum(int rolenum) {
		this.rolenum = rolenum;
	}
}